The maintenance management system may provide an API to retrieve data from the user’s session. The following example JavaScript expression retrieves the equipment number for the currently selected equipment.
<%=linkdoctree.getParent().getString("eqnum")%>
The returned value can then be integrated into the URL by writing code similar to the following example in the JavaScript page.
src=http://<ServerName>/ExplorerClient/Home.aspx?eqnum=<%=linkdoctree.getParent().getString("eqnum")%>
If the maintenance management system provides a similar API, this is the recommended way to obtain data from the user’s session.
Related concepts
Understanding the generic integration
Integrating with other maintenance management systems
Understanding the maintenance management system requirements
About integrating with a web-based system
About integrating with a Windows-based system
Related tasks
Retrieving arguments from a URL